package cn.jgls.merdoc;

import java.sql.SQLException;
import java.util.List;

import com.ibatis.sqlmap.client.SqlMapClient;

import cn.jgls.merdoc.model.*;

public class MyTest {
 public static void main(String[] args){
  SqlMapClient sqlMap = MySqlMapConfig.getSqlMapInstance();
  List person = null;
  try{
   person = sqlMap.queryForList("getdata2", null);
  }catch(SQLException e){
   System.out.println(e.getMessage());
  }
  for(int i=0; i<person.size(); i++){
   System.out.println(((VMonthsaleNormalTop10)person.get(i)).getLb() + " " + ((VMonthsaleNormalTop10)person.get(i)).getZje());
  }
 }
}

